package ils.util;

import org.junit.Assert;
import org.junit.Test;

/**
 * Created with IntelliJ IDEA.
 * User: rejeevd
 * Date: 16/09/12
 * Time: 20:28
 * To change this template use File | Settings | File Templates.
 */
public class UtilTests
{
    @Test
    public void testMD5()
    {
        String input = "password";
        String md5_input = "5f4dcc3b5aa765d61d8327deb882cf99";
        String output = Util.md5(input);
        Assert.assertEquals(md5_input, output);
    }
}
